package com.negotium.dominio;

/**
 * <p>
 * Representa toda entidad de negocio existente en el sistema.
 * </p> 
 */
public class BusinessObject implements Persistible<Long> {

	private Long id;
    
	/**
	 * @see Persistible#getId()
	 */
	public Long getId() {
    	return id;
	}
	
	/**
	 * @see Persistible#setId(Long)
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @see Persistible#isPersisted()
	 */
	public boolean isPersisted() {
		return (this.id != null);
	}

}
